package com.maiji.cloud.service;

import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.login.ShareWeightRuleEntity;
import com.maiji.cloud.entities.login.WeightChangeLog;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;

import java.util.Date;
import java.util.List;

public interface WeightChangeLogService extends IService<WeightChangeLog> {

    BaseDataResDto<List<ShareWeightRuleEntity>> findAllShareWeightRuleLogs(List<Date> data);

    BaseResDto updShareWeightRule(ShareWeightRuleEntity data);

    BaseDataResDto<ShareWeightRuleEntity> findShareWeightRule();

}
